@media screen and (max-width: 1024px) {
  .siderTree{
    width: 200px !important;
    flex: 0 0 200px !important;
    min-width: 200px !important;
  }
}

.itemBox{
  width: 100%;
  height: 240px;
  background: linear-gradient(to top right, #80CFF6, #5A5CC3);
  border-radius: 8px;
  padding: 10px;
  position: relative;
  cursor: pointer;
  padding-top: 40px;
  box-shadow: 8px 4px 7px -2px rgba(0, 0, 0, 0.4);
  .docName{
    color: #ffffff;
    font-weight: 500;
    margin-bottom: 15px;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
    word-wrap: break-word;   //自动换行
    word-break: break-all;    //自动换行（兼容字母
  }
  .intro{
    color: #ffffff;
    word-break: break-all;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3; /* 这里是超出几行省略 */
    overflow: hidden;
    height: 65px;
  }
  .ctime{
    margin-top: 15px;
    color: #ffffff;
  }


}
.itemBox:hover{
  .settingBox{
    display: flex;
  }
}


.posterBox{
  border: 1px solid #cccccc;
  padding: 10px;
  display: flex;
  gap: 10px;
  .posterTop{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
  }
  .examples{
    display: flex;
    gap: 10px;
    align-items: center;
    .exampleItem{
      width: 70px;
      height: 100px;
      border-radius: 6px;
      box-shadow: 8px 4px 7px -2px rgba(0, 0, 0, 0.4);
      position: relative;
      cursor: pointer;
      i{
        position: absolute;
        right: 10px;
        bottom: 10px;
        font-size: 18px;
        color: #ffffff;
      }
    }
  }
  .exampleImg{
    width: 70px;
    height: 100px;
    border-radius: 6px;
    box-shadow: 8px 4px 7px -2px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    margin-top: 10px;
    position: relative;
    cursor: pointer;
      i{
        position: absolute;
        right: 10px;
        bottom: 10px;
        font-size: 18px;
        color: #ffffff;
      }
  }
}


.cardBox{
  border: 1px solid #cccccc;
  border-radius: 6px;
  padding: 10px;
  width: 70%;
  margin-bottom: 10px;
}

.messageBox{
  background: #FCE2C0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap:8px;
  padding: 20px;
  margin-bottom: 20px;
  i{
    font-size: 18px;
    flex-shrink: 0;
    color: #F59A23;
  }
}

.libraryContainer{
  display: grid;
  grid-template-columns: repeat(auto-fill, 140px);
  grid-column-gap: 24px;
  padding: 0 24px;
  color:#ffffff;
  .gridItem{
    position: relative;
    width: 140px;
    height: 196px;
    margin-right: 24px;
    margin-bottom: 24px;
    padding: 16px;
    cursor: pointer;
    -webkit-transition: all .3s ease-out;
    -o-transition: all .3s ease-out;
    transition: all .3s ease-out;
    .gridBg{
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      -webkit-transition: all .3s ease-out;
      -o-transition: all .3s ease-out;
      transition: all .3s ease-out;
      -webkit-transform-origin: center center;
      -ms-transform-origin: center center;
      transform-origin: center center;
      background: linear-gradient(to top right, #80CFF6, #5A5CC3);
      outline: 1px solid rgba(0, 0, 0, 0);
      border-radius: 8px;
      -webkit-box-shadow: 0 2px 4px rgba(31, 35, 41, 0.12);;
      box-shadow: 0 2px 4px rgba(31, 35, 41, 0.12);
      img {
        width: 100%;
        height: 100%;
        transition: all .3s ease-out;
        border-radius: 8px;
      }
    }
    .docName{
      display: -webkit-box;
      overflow: hidden;
      -o-text-overflow: ellipsis;
      text-overflow: ellipsis;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      word-break: break-word;
      position: relative;
      font-weight: 600;
      font-size: 16px;
      line-height: 24px;
      margin-top: 12px;
      letter-spacing: normal;
      color:#ffffff;
    }
    .intro{
      display: -webkit-box;
      overflow: hidden;
      -o-text-overflow: ellipsis;
      text-overflow: ellipsis;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      word-break: break-word;
      position: relative;
      font-size: 12px;
      line-height: 18px;
      font-weight: 400;
      margin: 6px 0;
      letter-spacing: .5px;
      color:#ffffff;
    }
    .isShared{
      position: absolute;
      left: 0px;
      top: 0px;
      color:rgb(255, 255, 255);
      background-color: rgb(51, 109, 244);
      transition: all 0.3s ease-out 0s;
      padding: 0px 1px 0px 8px;
      height: 18px;
      line-height: 18px;
      text-align: center;
      font-weight: 500;
      font-size: 10px;
      border-radius: 8px 0px 0px;
      max-width: 76%;
    }
    .isShared::after{
      content: "";
      position: absolute;
      width: 11px;
      height: 100%;
      background-image: url(../../assets/sharedTag.svg);
      background-size: auto 100%;
      background-position: right center;
      right: -10px;
      top: 0px;
    }
    .settingBox{
      position: absolute;
      bottom: 0;
      left: 0;
      display: flex;
      -webkit-box-align: center;
      align-items: center;
      -webkit-box-pack: center;
      justify-content: center;
      width: 100%;
      height: 36px;
      transition: all .3s ease-out;
      opacity: 0;
      padding: 0;
      border: none;
      font-size: 12px;
      line-height: 20px;
      font-weight: 600;
      color: #ffffff;
      background-color: rgba(0, 0, 0, 0.55);;
      border-radius: 0 0 8px 8px;
      i{
        margin-right: 8px;
      }
    }
  }
  .gridItem:hover{
    .settingBox{
      transform: translateY(1px) scale(1.012);
      opacity: 1;
      border-radius: 0 0 8px 8px;
    }
    .gridBg{
      transform: scale(1.012);
      box-shadow: 0px 6px 24px 0px rgba(31, 35, 41, 0.08);
    }
  
  }
}

.libraryBox{
  display: flex;
  height: 28px;
  margin-left: 4px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  cursor: pointer;
  -ms-flex-negative: 1;
  flex-shrink: 1;
  border-radius: 6px;
  padding: 2px 7px 2px 5px;
  margin-bottom: 10px;
  .nameBox{
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    overflow: hidden;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
    letter-spacing: normal;
    color: #1f2329;
    -webkit-box-flex: 0;
    flex-grow: 0;
    flex-shrink: 1;
    .name{
      text-overflow: ellipsis;
      overflow: hidden;
      white-space: nowrap;
    }

  }

  i{
    margin-left: 7px;
    color: #646A73;
    
  }
}
.libraryBox:hover{
  background: rgba(31, 35, 41, 0.08);
}
.libraryBoxCheck{
  background: rgba(31, 35, 41, 0.08) !important;
}
.nameTag{
  margin-left: 4px;
  cursor: pointer;
  background-color: rgba(20, 86, 240, 0.2);;
  color: #1456f0;
  font-size: 10px;
  flex-shrink: 0;
  padding: 0 4px;
  height: 16px;
  line-height: 16px;
  border-radius: 4px;
}

//权限列表样式
.listBox{
  border-top: 1px solid #dee0e3;
  border-bottom: 1px solid #dee0e3;
  .listItem{
    display: flex;
    position: relative;
    height: 56px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    .itemAvatar{
      flex-shrink: 0;
    }
    .itemMain{
      margin-left: 10px;
      border-bottom: 1px solid #dee0e3;
      width: 100%;
      height: 100%;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-flex: 1;
      -ms-flex: 1;
      flex: 1;
      overflow: hidden;
      .itemContent{
        width: 100%;
        .itemTitle{
          font-size: 14px;
          color: #1f2329;
          line-height: 22px;
          padding-right: 40px;
          overflow: hidden;
          text-overflow: ellipsis;
          white-space: nowrap;
        }
        .itemDesc{
          font-size: 12px;
          color: rgb(100, 106, 115);
          line-height: 20px;
          width: 100%;
          padding-right: 40px;
        }
      }

      .itemIcon{
        display: none;
        margin: 0 12px;
        font-size: 16px;
        border-radius: 6px;
        padding: 4px;
        flex-shrink: 0;
        height: auto;
        line-height: 0;
        cursor: pointer;
        background: rgba(0, 0, 0, 0);
        border-color: rgba(0, 0, 0, 0);
      }
      .itemIcon:hover{
        background: rgba(31, 35, 41, 0.1);
        border-color: rgba(0, 0, 0, 0);
      }
    }
    .itemExtraBox{
      display: flex;
      align-items: center;
      gap: 10px;
      span{
        display: block;
        width: 100px;
      }
    }
  }
  .listItem:last-child .itemMain{
    border:none;
  }
  .listItem:hover{
    .itemIcon{
      display: block;
    }
  }

  }

